import {
    DIC
} from '@/const/dic'
export const tabOption = {
    index:true,
    indexLabel:'序号',
    border: true,
    selection: false,
    menuBtn: true,
    addBtn:false,
    cellBtn: false,
    size: 'mini',
    editBtn: false,
    delBtn: false,
    dicData: DIC,
    columnBtn: false,
    refreshBtn:false,
    align: "center",
    menuWidth: 270,
    menuAlign: "center",
    column: [{
        label: "审批单号",
        prop: "coded",
    },{
        label: "出库状态",
        prop: "chukuzhuangtai",
        slot: true
/*    },{
        label: "仓库",
        prop: "warehouseName",*/
    },{
        label: "申请部门/人",
        prop: "apply",
        slot: true
    },{
        label: "申请时间",
        prop: "purchasingDate",
    },{
        label: "出库人",
        prop: "outUserInfoName",
    },{
        label: "出库时间",
        prop: "outDate",
    }
    ]
};

export const examineModeTabOption = {
    index:true,
    indexLabel:'序号',
    border: true,
    selection: false,
    menuBtn: false,
    size: 'mini',
    menu: false,
    addBtn:false,
    cellBtn: false,
    editBtn: false,
    delBtn: false,
    dicData: DIC,
    columnBtn: false,
    refreshBtn:false,
    align: "center",
    menuWidth: 270,
    menuAlign: "center",
    column: [{
        label: "物品编号",
        prop: "goodsCoded",
        width: 90
    },{
        label: "物品名称",
        prop: "name",
        width: 90
    },{
        label: "规格",
        prop: "specs",
        width: 80
    },{
        label: "库存量",
        prop: "maxNum",
        width: 80
    },{
        label: "领用量",
        prop: "num",
        width: 80
    },{
        label: "批次号 / 出库量",
        prop: "num",
        slot: true
    },{
        label: "单位",
        prop: "unit",
        width: 80
    }
    ]
};